package com.glsc.ngateway.common.base.domain.mysql.gateway.platform;

import javax.persistence.*;

/**
 * 功能描述: <br>
 *
 * @author gaojc
 * @date 2020/11/24 18:55
 */
@Entity
@Table(name = "t_role_url", schema = "gatewaydb")
@IdClass(RoleUrlPK.class)
public class RoleUrl {
    private Long roleId;
    private Long urlId;

    @Column(name = "role_id")
    @Id
    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Column(name = "url_id")
    @Id
    public Long getUrlId() {
        return urlId;
    }

    public void setUrlId(Long urlId) {
        this.urlId = urlId;
    }

}
